# list1 = [1,2,1,3,5,5]
# list2 = []
# for i in list1:
#     if i not in list2:
#         list2.append(i)
# print(list2)
#
# list1 = []
# with open('text.txt', 'r', encoding='utf8') as f:
#     for i in f.readlines():
#         list2 = i.split(',')
#         tu = tuple([int(j.strip()) for j in list2])
#         list1.append(tu)
#     print(list1)
#
# with open("text.txt") as f:
#     print([tuple([int(j.strip()) for j in i.split(",")]) for i in f.readlines()])

# import requests
# import time
# import re
# import uuid

# url_page="https://mm.enterdesk.com/dongmanmeinv/"
# ret = requests.get(url=url_page)
# # print(ret.text)
# url_lst = re.findall(r'https://up.enterdesk.com/edpic_360_360/.*?\.jpg', ret.text)
# # content = res.content
# # with open('./xxx.jpg','wb') as f:
# #     f.write(content)

# for url in url_lst:
#     res = requests.get(url=url)
#     time.sleep(3)
#     content = res.content
#     name = str(uuid.uuid1())+".jpg"
#     with open(name,'wb') as f:
#         print("正在下载%s"%name)
#         f.write(content)


# list1 = [1,2,2,1,3,]
# list2 = []
# list3 = []
# for i in list1:
#     if i not in list2:
#         list2.append(i)
#     else:
#         list3.append(i)
# for i in list1:
#     if i not in list3:
#         print(i)

# lst = [1,2,3,2,1]
# lst_new = list(set(lst))
# for i in lst_new:
#     c=0
#     for j in lst:
#         if j == i:
#             c+=1
#     if c==1:
#         print(i)


# h = int(input("请输入原来高度："))
# n = int(input("请输入第几次弹起:"))
# for i in range(n):
#     h = h/3
# print(h)

# lst = [i for i in range(1,1000000-1)]

